Repository navigation
docs: sort the 8.0.0 migration guide, and add the facts from the retired posthog.com Python page - #1245
docs: sort the 8.0.0 migration guide, and add the facts from the retired posthog.com Python page#1245gewenyu99 wants to merge 30 commits into
Conversation
The migration guide is also published on posthog.com, where the relative link resolves to a missing page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit f143283)
The posthog.com Python SDK pages redirect to this reference once 8.0.0 ships, so their setup, how-to, and configuration sections now live in docs/getting-started.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 9db7014)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 0e9f755)
The reference renders each docstring under its entry, per major, so the tracing, ASGI, keepalive, and AsyncPosthog facts now live there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SDK performance: posthog-python1 change worth reviewing: 1 observed improvement. Flags require at least a 5% change in the median and all six pairs agreeing on direction. This is a noise filter, not proof of a performance change or a CI gate.
View all results
Values are medians of paired measurements. Not flagged does not mean unchanged. Unavailable means a measurement could not be provided, not zero. Estimated allocation measurements retain their instrumentation uncertainty. RSS measures the whole process, not just SDK allocations; observed peaks are sampled checkpoints. Paired ranges in the diagnostics describe variability, not confidence intervals. Each shard uses its own runner; compare Before PR against With PR within a row, not across shards. Compared 102 metric rows; 102 rows shown in all results. Omitted or shortened data remain in |
dustinbyrne
left a comment
There was a problem hiding this comment.
The migration restructuring and reference-title change look sound. I found no SDK runtime changes; two optional documentation clarifications are noted inline.
AI-assisted review.
Keeps both new generator functions (migration_page, getting_started) and their tests. The guide keeps this branch's text; its Celery eager line already carries #1232's wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rted guide The sorted 8.0.0 guide dropped facts the v1 guide states: the self-hosted capture v1 route check, the 404 hint, the 400 duplicate_event_uuid on older PostHog, the legacy path removal, and NaN as null since 7.75.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rted guide Identify-style events now default process_person_profile to true unless the call sets it or the SDK generated the distinct ID, so layered false no longer reaches them. Replaces the old reach rules and opt-in sample, and updates the checklist row, precedence step 1 and the before_send section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
start_span evicts spans older than max_span_age first and returns an unrecorded span only if still at max_live_spans. A full span keeps the exception message in its status and loses only the type and stack trace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated with bin/docs_scripts/generate_markdown.py --major 8. The migration page now carries the sorted guide, which it had not before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…onless Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he option Only capture and capture_ai take event properties. The properties of set, set_once and group_identify are person and group properties. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…-structure Stacks the sorted guide on the identify-style person processing default and the CaptureDroppedEvent change. The guide keeps the sorted text, which already describes the default. References regenerated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…he guide Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Compression formats including zstd, the proxy pass-through rule, and that a `$set` in a global or context layer reaches every event. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…es and semicolons Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 8.x page is titled "PostHog Python SDK 8.x" before and after the release. Regenerating also picks up the self-hosted paragraph the migration guide's source already dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…identify "so set the option there" read as setting it in properties, where the SDK treats it as a person property. set, set_once, and group_identify take options, so the guide now names them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vincent ruled out self-hosted framing in the guides, and the endpoint and 404 sentences read as self-host framing. The retry tables and the proxy notes stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ges (#1251) * docs: publish the posthog-python 8.x reference and migration guide pages Adds references/posthog-python-8.md and references/posthog-python-migration.md as the 8.0.0 release will write them, so the Strapi sync puts them on posthog.com before 8.0.0 ships. Both come from running bin/docs on docs/migration-guide-structure (#1245) with posthog/version.py at 8.0.0, the version the release sets before it generates. The generator on main writes only the 7.x page and the reference page, and skips the migration page without docs/migration-*.md, so neither file is rewritten before the release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: regenerate the migration page from the guide's latest fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: regenerate the migration page without the 404 hint and self-hosted lines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.